//
//  InvitaonRegCell.m
//  BXlive
//
//  Created by bxlive on 2017/5/4.
//  Copyright © 2017年 cat. All rights reserved.
//

#import "InvitaonRegCell.h"
#import <SLDeveloperTools/SLDeveloperTools.h>
#import <SDAutoLayout/SDAutoLayout.h>

@implementation InvitaonRegCell

-(instancetype)initWithFrame:(CGRect)frame{
    if (self = [super initWithFrame:frame]) {
        
        self.imgView = [UIImageView new];
        self.nameLabel = [UILabel new];
        self.nameLabel.textAlignment = NSTextAlignmentCenter;
        self.nameLabel.font = [UIFont systemFontOfSize:12*SCALE];
        self.nameLabel.textColor = SubTitleColor;
        [self.contentView sd_addSubviews:@[self.imgView,self.nameLabel]];
        self.imgView.sd_layout.topSpaceToView(self.contentView,0).centerXEqualToView(self.contentView).widthIs(50*SCALE).heightIs(50*SCALE);
        
        self.nameLabel.sd_layout.topSpaceToView(self.imgView,4*SCALE).leftSpaceToView(self.contentView,0).rightSpaceToView(self.contentView, 0).heightIs(17*SCALE);
            
        
    }
    return self;
}



@end
